<?php
class Mod_menu extends CI_Controller{
    function  __construct(){
        parent::__construct();
    }
    function index(){
        $data['menu'] = $this->common_model->getdata('article_category',array('publish'=>1,'position'=>1),array('title','id','alias'),array('id','ASC'));
        $this->load->view('mod_menu/top_menu',$data);
	}
    function menu_bot(){
        $data['menu'] = $this->common_model->getdata('article_category',array('publish'=>1,'position'=>0),array('title','id','alias'));
        $this->load->view('mod_menu/left_menu',$data);
    }
}
?>